﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CaiyinSoft.NetGather.Protocol
{
    public partial class InnerFormBase : Form
    {
        public InnerFormBase()
        {
            InitializeComponent();
            this.TopLevel = false;
            this.Visible = true;
        }

        public virtual void ShowInfo()
        {
            if (InfoShowEventHandler != null)
                InfoShowEventHandler(this, EventArgs.Empty);
        }

        public virtual void SaveInfo()
        {
            if (InfoSaveEventHandler != null)
                InfoSaveEventHandler(this, EventArgs.Empty);
        }


        public event EventHandler InfoShowEventHandler;
        public event EventHandler InfoSaveEventHandler;
    }
}
